package 面向对象_中.e多态性.向下转型和instanceof;

/**
 * @Projectname java_based
 * @Filename Woman
 * @Author an
 * @Data 2022/7/2 9:07
 * @Description TODO
 */
public class Woman extends Person{

    boolean isBeauty;

    public void goShopping(){
        System.out.println("女人喜欢购物");
    }

    public void eat(){
        System.out.println("女人少吃，为了减肥。");
    }

    public void walk(){
        System.out.println("女人，窈窕的走路。");
    }
}
